<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>个人中心</title>	
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
   	<link href="css2/personalcenter.css" rel='stylesheet' type='text/css'/>
   	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
   	<script language="javascript" src="js2/personalcenter.js"></script>
</head>
<body style="background-color: #EEEEEE">
<div class="container">
	<div id="p_header" style="background-image:url(images/4.jpg);">
		<nav class="navbar navbar-inverse" role="navigation">
			<div class="container-fluid">
			  <div class="navbar-header">
			      <a class="navbar-brand" href="MianPagelistServlet">首页</a>
			  </div>
			  <ul class="nav navbar-nav">
		          <li><a href="servlet/Hot_Servlet">排行榜</a></li>
		          <!-- 
		          <li><a href="type.jsp">分类</a></li>
		           -->
		          <li><a href="servlet/Rec_Servlet">今日推荐</a></li>
		          <li><a href="servlet/StarVideo_Servlet">星级推荐</a></li>			
		          <li><a href="servlet/Randon_Servlet">随便看看</a></li>			
		      </ul>
				<ul class="nav navbar-nav navbar-right" style="margin: 0px;">
				  <li><a class="navbar-link" href="MianPagelistServlet" id="Cancellation" onclick="delCookie('username')">注销</a></li>
				</ul>		 
			 </div>
		</nav>
	</div>
	<div align="center" style="padding-top: 50px">
	<table border="1" width="60%" cellspacing="0">
		<tr>
    		<td>用户名：</td>
    		<td>性别：</td>
    		<td>年龄：</td>
    		<td>爱好：</td>
    		<td>个人介绍：</td>
		</tr>
		<tr align="center">
			
			<td><h1>${sessionScope.user.u_name}</h1></td>
			<td><h1>${sessionScope.user.u_sex}</h1></td>
			<td><h1>${sessionScope.user.u_age}</h1></td>
			<td><h1>${sessionScope.user.u_hobby}</h1></td>
			<td><h1>${sessionScope.user.u_describe}</h1></td>
			
		</tr>
    </table>
	</div>
</div>
</body>
</html>

